import { GET, POST } from '../util'

const url = {
  CargoList: '/api/Imp/GetCargoList',
  CustomSubjectInfo: 'api/Imp/GetCustomSubjectInfo',
  GetByCdkey: 'api/Marketing/GetCouponByCdKey',
  AddBeesBySubject: 'api/User/AddBeesBySubject'
}
// 根据ids获取产品列表
function CargoList(params = {}) {
  return GET(url.CargoList, params)
}
function CustomSubjectInfo(params = {}) {
  return GET(url.CustomSubjectInfo, params)
}
function GetByCdkey(params = {}) {
  return GET(url.GetByCdkey, params)
}
function AddBeesBySubject(params = {}) {
  return POST(url.AddBeesBySubject, params)
}
export { CargoList, CustomSubjectInfo, GetByCdkey, AddBeesBySubject }
